package com.softeem.dromitorysystem.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

//成员类
@Schema(description = "管理员")
@Data
public class Manager {
    @Schema(name = "管理员ID")
    private Integer id;
    @Schema(name = "管理员账号")
    private Integer username;
    @Schema(name = "管理员密码")
    private String password;
    @Schema(name = "管理员创建时间")
    private LocalDateTime addtime;
    @Schema(name = "账号状态",description = "账号状态：0表示正常，1表示账号禁用")
    private Integer status;
    @Schema(name = "随机盐",description = "随机盐，用于密码加密、解密的key值")
    private String salt;
}
